//
//package com.rt.schedulebase.service.impl;
//import com.baomidou.mybatisplus.core.conditions.update.UpdateWrapper;
//import com.baomidou.mybatisplus.core.conditions.Wrapper;
//import java.util.Map;
//import java.util.HashMap;
//import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
//import java.util.List;
//import com.rt.schedulebase.dto.ExamExportDto;
//import java.io.Serializable;
//import com.rt.schedulebase.service.IExamExportService;
//import com.rt.schedulebase.entity.ExamExport;
//import com.rt.schedulebase.mapper.ExamExportMapper;
//import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
//public class ExamExportServiceImpl extends ServiceImpl<ExamExportMapper, ExamExport> implements IExamExportService
//{
//@Override
//    public boolean insertSelective(final ExamExport examExport) {
//        return this.retBool(Integer.valueOf(((ExamExportMapper)this.baseMapper).insert(examExport)));
//    }
//
//@Override
//    public boolean deleteByPrimaryKey(final String key) {
//        return this.retBool(Integer.valueOf(((ExamExportMapper)this.baseMapper).deleteById((Serializable)key)));
//    }
//
//@Override
//    public boolean updateByPrimaryKeySelective(final ExamExport examExport) {
//        return this.retBool(Integer.valueOf(((ExamExportMapper)this.baseMapper).updateById(examExport)));
//    }
//
//@Override
//    public ExamExport selectByPrimaryKey(final String key) {
//        return (ExamExport)((ExamExportMapper)this.baseMapper).selectById((Serializable)key);
//    }
//
//@Override
//    public List<ExamExport> getList(final ExamExportDto dto) {
//        final QueryWrapper<ExamExport> qw = (QueryWrapper<ExamExport>)new QueryWrapper();
//        final Map<String, Object> map = new HashMap<String, Object>();
//        map.put("EXPORT_STATUS", dto.getExportStatus());
//        map.put("EXPORT_DATE", dto.getExportDate());
//        qw.allEq((Map)map, false);
//        final List<ExamExport> list = (List<ExamExport>)((ExamExportMapper)this.baseMapper).selectList((Wrapper)qw);
//        return list;
//    }
//
//@Override
//    public List<ExamExport> getListAll() {
//        return (List<ExamExport>)((ExamExportMapper)this.baseMapper).selectList((Wrapper)null);
//    }
//
//@Override
//    public boolean delete(final ExamExport examExport) {
//        final UpdateWrapper<ExamExport> uw = (UpdateWrapper<ExamExport>)new UpdateWrapper();
//        final Map<String, Object> map = new HashMap<String, Object>();
//        map.put("EXAM_NO", examExport.getExamNo());
//        uw.allEq((Map)map, false);
//        return this.retBool(Integer.valueOf(((ExamExportMapper)this.baseMapper).delete((Wrapper)uw)));
//    }
//
//@Override
//    public boolean update(final ExamExport examExport) {
//        final UpdateWrapper<ExamExport> uw = (UpdateWrapper<ExamExport>)new UpdateWrapper();
//        final Map<String, Object> map = new HashMap<String, Object>();
//        map.put("EXAM_NO", examExport.getExamNo());
//        uw.allEq((Map)map, false);
//        return this.retBool(Integer.valueOf(((ExamExportMapper)this.baseMapper).update(examExport, (Wrapper)uw)));
//    }
//
//@Override
//    public ExamExport getInfo(final ExamExportDto dto) {
//        final QueryWrapper<ExamExport> qw = (QueryWrapper<ExamExport>)new QueryWrapper();
//        final Map<String, Object> map = new HashMap<String, Object>();
//        map.put("EXAM_NO", dto.getExamNo());
//        qw.allEq((Map)map, false);
//        return (ExamExport)((ExamExportMapper)this.baseMapper).selectOne((Wrapper)qw);
//    }
//}
